import request from '@/utils/request'

// 查询自我筛查结果列表
export function listSelfScreeningResult(query) {
  return request({
    url: '/system/SelfScreeningResult/list',
    method: 'get',
    params: query
  })
}

// 查询自我筛查结果详细
export function getSelfScreeningResult(id) {
  return request({
    url: '/system/SelfScreeningResult/' + id,
    method: 'get'
  })
}

// 新增自我筛查结果
export function addSelfScreeningResult(data) {
  return request({
    url: '/system/SelfScreeningResult',
    method: 'post',
    data: data
  })
}

// 修改自我筛查结果
export function updateSelfScreeningResult(data) {
  return request({
    url: '/system/SelfScreeningResult',
    method: 'put',
    data: data
  })
}

// 删除自我筛查结果
export function delSelfScreeningResult(id) {
  return request({
    url: '/system/SelfScreeningResult/' + id,
    method: 'delete'
  })
}
